package com.dmpp.mes.dao;

import com.dmpp.mes.parameterInfo.Category;
import com.dmpp.mes.parameterInfo.Specifications;

import java.util.List;

public interface SpecificationsMapper {


    List<Specifications> findAll(Specifications specifications);

    Specifications findByCode(Specifications specifications);

    void insert(Specifications specifications);

    void updateByCode(Specifications specifications);

    void deleteByCode(Specifications specifications);

    int count(Specifications specifications);

    int semiProductCount(Specifications specifications);

    void delete(Specifications specifications);
}
